.rl_exp {
    margin: 0 auto;
    position: absolute;
    width: 482px;
    padding: 20px;
    border: 1px solid #D0D0D0;
    box-shadow: 0 1px 2px 2px #656565, 1px 1px 0 rgba(127, 127, 127, 0.1);
    overflow: hidden;
    background: none repeat scroll 0 0 white;
    zoom: 1;
    z-index: 100;
}

/*隐藏浏览器的outline,兼容IE。*/
.rl_exp a {
    outline: none;
    blr: expression(this.onFocus=this.blur());
}

.rl_exp ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rl_exp ul li {
    display: list-item;
}

.rl_exp ul.rl_exp_tab {
    margin: -20px -20px 20px;
    padding: 5px 13px 0;
    list-style: none;
    border-bottom: 1px solid #d0d0d0;
    border-top: 1px solid #fff;
    background: -moz-linear-gradient(center top, #F6F6F6, #E5E5E5) repeat scroll 0 0 transparent;
    background: -webkit-gradient(linear, center top, center bottom, from(#f6f6f6), to(#E5E5E5)) repeat scroll 0 0 transparent;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#E5E5E5');

}

.rl_exp ul.rl_exp_tab li {
    float: left;
    margin-right: 5px;
    display: list-item;
    text-align: -webkit-match-parent;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

.rl_exp ul.rl_exp_tab li a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    color: #979797;
    border: 1px solid #c3c3c3;
    margin-bottom: -1px;
    background: #E4E4E4;
    text-shadow: #fff 0 1px;
}

.rl_exp ul.rl_exp_tab li a.selected {
    zoom: 1;
    background: #fff;
    border-bottom: 1px solid #fff;
    box-shadow: none;
    text-shadow: none;
}

/*表情内容样式*/
.rl_exp_main {
    margin: 0;
    padding: 0;
}

.rl_exp_item {
    cursor: pointer;
    float: left;
    border: 1px solid red;
    height: 24px;
    width: 24px;
    overflow: hidden;
    margin: -1px 0 0 -1px;
    padding: 6px;
    text-align: center;
    border-color: #fce089;
    background: #fef9e7;
}

.rl_exp_item:hover {
    border: 1px solid #0095cd;
    background: #fff9ec;
    position: relative;
    z-index: 2;
}

.rl_exp_item img {
    display: inline-block;
    *zoom: 1;
    border: 0;
}

.close {
    position: absolute;
    right: 6px;
    top: 6px;
    text-decoration: none;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 12px;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    filter: alpha(opacity=20);
}

.close:hover, .close:focus {
    color: #000;
    cursor: pointer;
    opacity: 0.4;
    filter: alpha(opacity=40);
}

/*公共清浮类，摘自bootstrap*/
.clearfix {
    *zoom: 1;
}

.clearfix:before, .clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.clearfix:after {
    clear: both;
}



